/*
		ServEngine framework library
		A library to fast develop JEE online applications
	
		Copyright 2008 José Ignacio de Córdoba Álvaro

		Licensed under the Apache License, Version 2.0 (the "License");
		you may not use this file except in compliance with the License.
		You may obtain a copy of the License at

				http://www.apache.org/licenses/LICENSE-2.0

		Unless required by applicable law or agreed to in writing, software
		distributed under the License is distributed on an "AS IS" BASIS,
		WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
		See the License for the specific language governing permissions and
		limitations under the License.
	
		Jose Ignacio de Cordoba Alvaro
		http://ignacio.decordoba.com
*/

package com.servengine.user;

import java.util.Date;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;

public class UsersActionForm extends com.servengine.struts.ValidatorForm
{
	String userid, email, firstName, lastName, searchString;
	Integer[] roleId;
	java.util.Date createdFrom, createdTo, lastLoginFrom, lastLoginTo;
	java.util.Date created, lastLogin;
	FormFile importFile;
	String[] httpSessionId;
	String messageSubject,messageTextBody,messageHtmlBody;
	String charsetName;
	
	public void reset(ActionMapping mapping, HttpServletRequest request)
	{
		super.reset(mapping,request);
	}

	public void setUserid(String id)
	{
		this.userid = id;
	}

	public String getUserid()
	{
		return userid;
	}

	public void setEmail(String email)
	{
		this.email = email;
	}

	public String getEmail()
	{
		return email;
	}

	public void setFirstName(String firstname)
	{
		this.firstName = firstname;
	}

	public String getFirstName()
	{
		return firstName;
	}

	public void setLastName(String lastname)
	{
		this.lastName = lastname;
	}

	public String getLastName()
	{
		return lastName;
	}

	public void setSearchString(String searchstring)
	{
		this.searchString = searchstring;
	}

	public String getSearchString()
	{
		return searchString;
	}

	public void setRoleId(Integer[] roleIds)
	{
		this.roleId = roleIds;
	}

	public Integer[] getRoleId()
	{
		return roleId;
	}

	public void setCreatedFrom(Date creationDateFrom)
	{
		this.createdFrom = creationDateFrom;
	}

	public Date getCreatedFrom()
	{
		return createdFrom;
	}

	public void setCreatedTo(Date creationDateTo)
	{
		this.createdTo = creationDateTo;
	}

	public Date getCreatedTo()
	{
		return createdTo;
	}

	public void setImportFile(FormFile importFile)
	{
		this.importFile = importFile;
	}

	public FormFile getImportFile()
	{
		return importFile;
	}

	public void setHttpSessionId(String[] httpSessionId)
	{
		this.httpSessionId = httpSessionId;
	}

	public String[] getHttpSessionId()
	{
		return httpSessionId;
	}

	public void setMessageSubject(String messageSubject)
	{
		this.messageSubject = messageSubject;
	}

	public String getMessageSubject()
	{
		return messageSubject;
	}

	public void setMessageTextBody(String messageTextBody)
	{
		this.messageTextBody = messageTextBody;
	}

	public String getMessageTextBody()
	{
		return messageTextBody;
	}

	public void setMessageHtmlBody(String messageHtmlBody)
	{
		this.messageHtmlBody = messageHtmlBody;
	}

	public String getMessageHtmlBody()
	{
		return messageHtmlBody;
	}

	public void setCharsetName(String charsetName)
	{
		this.charsetName = charsetName;
	}

	public String getCharsetName()
	{
		return charsetName;
	}

	public void setLastLoginFrom(Date lastLoginFrom)
	{
		this.lastLoginFrom = lastLoginFrom;
	}

	public Date getLastLoginFrom()
	{
		return lastLoginFrom;
	}

	public void setLastLoginTo(Date lastLoginTo)
	{
		this.lastLoginTo = lastLoginTo;
	}

	public Date getLastLoginTo()
	{
		return lastLoginTo;
	}

	public void setCreated(Date created)
	{
		this.created = created;
	}

	public Date getCreated()
	{
		return created;
	}

	public void setLastLogin(Date lastLogin)
	{
		this.lastLogin = lastLogin;
	}

	public Date getLastLogin()
	{
		return lastLogin;
	}
}
